﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Utils.Entity
{
    public class CartEntity
    {
        public CartEntity()
        {
            this.OrderComment = "";
            this.PaymentAddress1 = "";
            this.PaymentAddress2 = "";
            this.PaymentFirstName = "";
            this.PaymentLastName = "";
            this.PaymentPhone = "";
            this.ShippingAddress1 = "";
            this.ShippingAddress2 = "";
            this.ShippingCost = "";
            this.ShippingFirstName = "";
            this.ShippingLastName = "";
            this.ShippingPhone = "";
            this.ShippingTye = "";
            this.UserName = "";
        }

        private int orderID;
        public int OrderID
        {
            get { return orderID; }
            set { orderID = value; }
        }

        private int usersID;
        public int UsersID
        {
            get { return usersID; }
            set { usersID = value; }
        }

        private string userName;
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        private ArrayList listProduct;
        public ArrayList ListProduct
        {
            get { return listProduct; }
            set { listProduct = value; }
        }

        private DateTime orderDate;
        public DateTime OrderDate
        {
            get { return orderDate; }
            set { orderDate = value; }
        }

        private byte orderStatus;
        public byte OrderStatus
        {
            get { return orderStatus; }
            set { orderStatus = value; }
        }

        private String orderComment;
        public String OrderComment
        {
            get { return orderComment; }
            set { orderComment = value; }
        }

        private String shippingFirstName;
        public String ShippingFirstName
        {
            get { return shippingFirstName; }
            set { shippingFirstName = value; }
        }

        private String shippingLastName;
        public String ShippingLastName
        {
            get { return shippingLastName; }
            set { shippingLastName = value; }
        }

        private String shippingAddress1;
        public String ShippingAddress1
        {
            get { return shippingAddress1; }
            set { shippingAddress1 = value; }
        }

        private String shippingAddress2;
        public String ShippingAddress2
        {
            get { return shippingAddress2; }
            set { shippingAddress2 = value; }
        }

        private String shippingPhone;
        public String ShippingPhone
        {
            get { return shippingPhone; }
            set { shippingPhone = value; }
        }

        private String shippingTye;
        public String ShippingTye
        {
            get { return shippingTye; }
            set { shippingTye = value; }
        }

        private String shippingCost;
        public String ShippingCost
        {
            get { return shippingCost; }
            set { shippingCost = value; }
        }

        private String paymentFirstName;
        public String PaymentFirstName
        {
            get { return paymentFirstName; }
            set { paymentFirstName = value; }
        }

        private String paymentLastName;
        public String PaymentLastName
        {
            get { return paymentLastName; }
            set { paymentLastName = value; }
        }

        private String paymentAddress1;
        public String PaymentAddress1
        {
            get { return paymentAddress1; }
            set { paymentAddress1 = value; }
        }

        private String paymentAddress2;
        public String PaymentAddress2
        {
            get { return paymentAddress2; }
            set { paymentAddress2 = value; }
        }

        private String paymentPhone;
        public String PaymentPhone
        {
            get { return paymentPhone; }
            set { paymentPhone = value; }
        }
    }

    public class CartProductEntity
    {
        

        private int orderDetailID;
        public int OrderDetailID
        {
            get { return orderDetailID; }
            set { orderDetailID = value; }
        }

        private int orderID;
        public int OrderID
        {
            get { return orderID; }
            set { orderID = value; }
        }

        private int productID;
        public int ProductID
        {
            get { return productID; }
            set { productID = value; }
        }

        private string productName;
        public string ProductName
        {
            get { return productName; }
            set { productName = value; }
        }

        private int quatnity;
        public int Quatnity
        {
            get { return quatnity; }
            set { quatnity = value; }
        }

        private decimal price;
        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }
    }
}
